package com.grj.es.service;

import com.grj.es.entity.Products;
import org.springframework.data.domain.Page;
import org.springframework.data.elasticsearch.core.SearchHits;

import java.util.List;

/**
 * @author 14505
 */
public interface ProductsService {
    void save(Products products);
    List<Products> findAll();
    SearchHits<Products> search(String keyword);
}
